{% extends 'index.html' %}
{% load staticfiles %}
{% block nav-head %}
	{{ block.super }}
{% endblock %}
{% block nav-top %}
       {{ block.super }}
{% endblock %}
{% block nav-side %}
	{{ block.super }}
{% endblock %}
{% block content %}
        <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <br />
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            应用列表
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <div class="dataTable_wrapper">
                                <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <thead>
                                        <tr>
                                            <th width="10%">应用名称</th>
											<th width="5%">语言</th>
											<th width="20%">功能说明</th>
											<th width="10%">研发团队</th>
											<th width="10%">研发日期</th>
                                            <th width="10%">联系人</th>
                                            <th width="35%">备注</th>
                                        </tr>
                                    </thead>
                                    <tbody>
									
{% for app in app_lists %}
                                        <tr class="odd gradeX">
                                            <td><a href="/addRecord?action=edit&issue_name={{ app.name }}" name="name">{{app.name}}</a></td>
                                            <td>{{app.language}}</td>
											<td class="center">{{app.function}}</td>
											<td class="center">{{app.teams}}</td>
											<td class="center">{{app.dev_time}}</td>
                                            <td class="center">{{app.contact}}</td>
                                            <td class="center">{{app.comment}}</td>
                                        </tr>
{% endfor %}
                                    </tbody>
                                </table>
                            </div>
                        <!-- /.panel-body -->
                </div>
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->
{% endblock %}
{% block theme %}
	<!-- Custom Theme JavaScript -->
    <script src="{% static 'js/sb-admin-2.js' %}"></script>
	 <!-- DataTables JavaScript -->
    <script src="{% static 'js/jquery.dataTables.min.js' %}"></script>
    <script src="{% static 'js/dataTables.bootstrap.min.js' %}"></script>

    <!-- Page-Level Demo Scripts - Tables - Use for reference -->
    <script>
    $(document).ready(function() {
        $('#dataTables-example').DataTable({
                responsive: true
        });
    });
    </script>
{% endblock %}







